<?php
include "../AdminController/AddTeamController.php";
?>
	<form action='?page=<?php echo $page; ?>' method='post'>
		<table>
			<th>Add Team</th>
			<tr>
				<td>Team Name</td>
				<td><input type='text' name='teamname'></td>
				<td><?php 
				if($realteam->validationName()) echo "Please enter team name!";
				if($teamNameExists) echo "This team exists in database!";
				?>
				</td>
			</tr>
			<tr>
				<td></td>
				<td><input type='submit' name='submit' value='Add Team'></td>
			</tr>
		</table>
	</form>